package lab02.test16;

public class Division  extends Arithmetic {
    int dealer;

    @Override
    public int artthmetic(int number, int count) {
        if (count == 0) {
            System.out.println("0不能作除数");
        } else {
            dealer = number / count;
        }
        return dealer;
    }
}
